/* 
*-----------------------------------------------------------*
*	Create Calculator and operate on Windows				*
*	HieuMT													*
*	Date: 2014/05/08										*
*-----------------------------------------------------------*
*/  

//----------------------------------------------------------------------------------

HWND hWnd;
HWND EditBox;
HWND Button_Add; 
HWND Button_Subtract; 
HWND Button_Multiply; 
HWND Button_Divide; 
HWND Button_9; 
HWND Button_8; 
HWND Button_7; 
HWND Button_6; 
HWND Button_5; 
HWND Button_4; 
HWND Button_3; 
HWND Button_2; 
HWND Button_1; 
HWND Button_0; 
HWND Button_Decimal; 
HWND Button_Equals; 
HWND Button_Clear;

//----------------------------------------------------------------------------------

char Operation = '0';
char Num1[10];
double Number1 = 0;
char Num2[10];
double Number2 = 0;

void InputNumber(char CurrentNumber[10]);
void Calculate();

//----------------------------------------------------------------------------------

LRESULT CALLBACK MainWndProc(HWND, UINT, WPARAM, LPARAM);

//----------------------------------------------------------------------------------